<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
	<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en-us" lang="en-us" dir="ltr">
	<head>
	<meta http-equiv="content-type" content="text/html; charset=utf-8" />
	<meta name="robots" content="noindex, nofollow" />
	<meta name="description" content="Textpattern Content Management System Administration" />
	<title><?= $title ?></title>
	<link href="<?= $this->urlToStatic('/theme/classic/textpattern.css') ?>" rel="stylesheet" type="text/css" />

	<script src="http://ajax.googleapis.com/ajax/libs/jquery/1.4.4/jquery.min.js" type="text/javascript"></script>
	<script src="<?= $this->urlToStatic('/js/textpattern.js') ?>" type="text/javascript"></script>
<? if (!empty($head_elements)): ?>
<? foreach ($head_elements as $element): ?>
	<?= $element ?>
<? endforeach; ?>
<? endif; ?>
</head>

<body id="<?= isset($body_css_id) ? $body_css_id : $selected_subtab ?>" class="<?= isset($body_css_class) ? $body_css_class : $selected_tab ?>">
	<? $this->render('header'); ?>
	<div id="content">
	<? $this->render(isset($content) ? $content : ($selected_tab . '/' . (isset($selected_subtab) ? $selected_subtab : $selected_tab))); ?>
	</div>
	<? $this->render('footer'); ?>
</body>
</html>
